package com.tjhk.java.tech.iiner;

import java.util.Arrays;
import java.util.PriorityQueue;

public class Outter extends Inner1 implements Comparable{
    public static void main(String[] args) {
//        Outter outter = new Outter();
//        Outter outter2 = new Outter();
//        outter.show();
//        Comparable<Outter> k = (Comparable<Outter>) outter;
//        System.out.println(k.compareTo(outter2));
        PriorityQueue<Integer> queue = new PriorityQueue<>(Arrays.asList(1,2,4,5,6));
        queue.offer(3);
    }

    @Override
    void print() {
        System.out.println("Outter");
    }

    @Override
    public int compareTo(Object o) {
        return 0;
    }
}
